//
//  ViewController.m
//  CoreData
//
//  Created by 谭英杰 on 16/4/7.
//  Copyright © 2016年 谭英杰. All rights reserved.
//

#import "ViewController.h"
#import "Person+CoreDataProperties.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)insertPerson
{

    NSManagedObject *person = [NSEntityDescription insertNewObjectForEntityForName:<#(nonnull NSString *)#> inManagedObjectContext:<#(nonnull NSManagedObjectContext *)#>]
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
